package com.whpu.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whpu.common.utils.PageUtils;
import com.whpu.mall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author FanboKai
 * @email fanbokai163@163.com
 * @date 2020-11-19 22:55:24
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> collect);

    //获取spu规格回显
    List<ProductAttrValueEntity> baseSpuList(Long spuId);

    //修改spu规格
    void updateSpu(Long spuId, List<ProductAttrValueEntity> attrList);
}

